package com.alipay.sofa.pay.dal.domain;

import java.util.Date;

public class PayOrderDO implements Comparable<PayOrderDO> {

    /**
     * 买家UID
     */
    private String orderNo;
    /**
     * 买家UID
     */
    private String buyerId;
    /**
     * 卖家UID
     */
    private String sellerId;
    /**
     * 转账金额
     */
    private Long payAmount;
    /**
     * 订单状态
     */
    private String status;

    /**
     * 订单创建时间
     */
    private Date gmtCreate;
    /**
     * 订单修改时间
     */
    private Date gmtModified;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public Long getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Long payAmount) {
        this.payAmount = payAmount;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public int compareTo(PayOrderDO o) {
        return this.orderNo.compareTo(o.getOrderNo());
    }
}
